package com.dbq.fast.common.net.mock.mockApi;

import com.dbq.fast.common.net.mock.MockInterface;
import com.dbq.fast.common.net.mock.MockRouter;

/**
 * Created by yuanchen on 2018/4/13.
 */

public class MockSubscriptionMeal implements MockInterface {

    public static final String URL = MockRouter.BASE_URL + "/serve/activity/rushpurchase";

    @Override
    public byte[] getResponse(String url) {
        String result = "{\n" +
                "    \"code\": 200,\n" +
                "    \"msg\": \"成功\",\n" +
                "    \"data\": {\n" +
                "        \"rushpurchaseList\": [\n" +
                "            {\n" +
                "                \"account\": null,\n" +
                "                \"setMealId\": 16,\n" +
                "                \"serviceId\": 1,\n" +
                "                \"serviceLevel\": null,\n" +
                "                \"userServiceLevel\": null,\n" +
                "                \"payPlatform\": null,\n" +
                "                \"setMealOriginalDollarPrice\": null,\n" +
                "                \"setMealDiscountDollarPrice\": \"1.99\",\n" +
                "                \"setMealDiscount\": null,\n" +
                "                \"setMealOriginalRmbPrice\": null,\n" +
                "                \"setMealDiscountRmbPrice\": null,\n" +
                "                \"wfeePrice\": null,\n" +
                "                \"setMealTime\": 1,\n" +
                "                \"setMealDeadLine\": null,\n" +
                "                \"payPageStyle\": null,\n" +
                "                \"isRenew\": null,\n" +
                "                \"googleId\": \"svip_1_month_p1\",\n" +
                "                \"discounts\": null,\n" +
                "                \"unitPrice\": null,\n" +
                "                \"activityTime\": 60\n" +
                "            },\n" +
                "            {\n" +
                "                \"account\": null,\n" +
                "                \"setMealId\": 17,\n" +
                "                \"serviceId\": 1,\n" +
                "                \"serviceLevel\": null,\n" +
                "                \"userServiceLevel\": null,\n" +
                "                \"payPlatform\": null,\n" +
                "                \"setMealOriginalDollarPrice\": null,\n" +
                "                \"setMealDiscountDollarPrice\": \"2.99\",\n" +
                "                \"setMealDiscount\": null,\n" +
                "                \"setMealOriginalRmbPrice\": null,\n" +
                "                \"setMealDiscountRmbPrice\": null,\n" +
                "                \"wfeePrice\": null,\n" +
                "                \"setMealTime\": 1,\n" +
                "                \"setMealDeadLine\": null,\n" +
                "                \"payPageStyle\": null,\n" +
                "                \"isRenew\": null,\n" +
                "                \"googleId\": \"svip_1_month_p2\",\n" +
                "                \"discounts\": null,\n" +
                "                \"unitPrice\": null,\n" +
                "                \"activityTime\": 180\n" +
                "            },\n" +
                "            {\n" +
                "                \"account\": null,\n" +
                "                \"setMealId\": 18,\n" +
                "                \"serviceId\": 1,\n" +
                "                \"serviceLevel\": null,\n" +
                "                \"userServiceLevel\": null,\n" +
                "                \"payPlatform\": null,\n" +
                "                \"setMealOriginalDollarPrice\": null,\n" +
                "                \"setMealDiscountDollarPrice\": \"3.99\",\n" +
                "                \"setMealDiscount\": null,\n" +
                "                \"setMealOriginalRmbPrice\": null,\n" +
                "                \"setMealDiscountRmbPrice\": null,\n" +
                "                \"wfeePrice\": null,\n" +
                "                \"setMealTime\": 1,\n" +
                "                \"setMealDeadLine\": null,\n" +
                "                \"payPageStyle\": null,\n" +
                "                \"isRenew\": null,\n" +
                "                \"googleId\": \"svip_1_month_p3\",\n" +
                "                \"discounts\": null,\n" +
                "                \"unitPrice\": null,\n" +
                "                \"activityTime\": 360\n" +
                "            },\n" +
                "            {\n" +
                "                \"account\": null,\n" +
                "                \"setMealId\": 19,\n" +
                "                \"serviceId\": 1,\n" +
                "                \"serviceLevel\": null,\n" +
                "                \"userServiceLevel\": null,\n" +
                "                \"payPlatform\": null,\n" +
                "                \"setMealOriginalDollarPrice\": null,\n" +
                "                \"setMealDiscountDollarPrice\": \"5.99\",\n" +
                "                \"setMealDiscount\": null,\n" +
                "                \"setMealOriginalRmbPrice\": null,\n" +
                "                \"setMealDiscountRmbPrice\": null,\n" +
                "                \"wfeePrice\": null,\n" +
                "                \"setMealTime\": 1,\n" +
                "                \"setMealDeadLine\": null,\n" +
                "                \"payPageStyle\": null,\n" +
                "                \"isRenew\": null,\n" +
                "                \"googleId\": \"svip_1_month_p4\",\n" +
                "                \"discounts\": null,\n" +
                "                \"unitPrice\": null,\n" +
                "                \"activityTime\": 1200\n" +
                "            }\n" +
                "        ]\n" +
                "    }\n" +
                "}";
        return result.getBytes();
    }


}
